package com.ledou44.ledourpc.dto;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "ledourpc.register")
public class LedousradMessage {

    /**
     * 服务注册与发现中心地址
     */
    private String address = "localhost";

    /**
     * 服务注册与发现中心端口
     */
    private Integer port = 8888;
}
